package com.example.egmvc1.basic.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum StatusCode {
    SUCCESS(5000,"操作成功"),
    UNKNOWN_ERROR(5001,"未知错误"),
    PARAM_ERROR(8000,"参数错误"),
    FAIL(6000,"操作失败");
    private Integer code;
    private String message;

}
